package jsu.yym.tiktok.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "like")
public class Like {
    @TableId(value = "pk_id",type = IdType.AUTO)
    private String pkId;
    private Date createTime;
    private Date updateTime;
    private int isDelete;
    private String username;
    private int video_id;

    public Like(String username, int videoId) {
        this.username = username;
        this.video_id = videoId;
    }

    public Like() {
    }
}
